<div class="panel panel-default panel-intro">
    {if $groupIds neq 4}
    <div class="panel panel-info" style="border: 2px solid #bce8f1;">
        <div class="panel-body" style="line-height: 25px;text-indent: 2em">
            已更新数(<span class="is_update_count">0</span>)    项目总数(<span class="is_project_count">0</span>)  更新率  <span class="is_update_percent">0</span>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            黄色背景为距离推进计划时限不足10天项目&nbsp;&nbsp;&nbsp;红色背景为未完成推进计划项目。
        </div>
    </div>
    {/if}

    {if $isSuperAdmin == '1'}
    <ul class="nav nav-tabs">
        <li class="active"><a href="#one" data-toggle="tab">项目列表</a></li>
        <li><a href="#two" data-toggle="tab">待审核</a></li>
    </ul>
    {/if}
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar1" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-success btn-create {:$auth->check('project/add')?'':'hide'}" title="{:__('Add')}" data-area='["70%","93%"]'><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('project/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>

                        <!-- <a href="javascript:;" class="btn btn-success btn-revise btn-disabled disabled {:$auth->check('project/edit')?'':'hide'}" title="{:__('Edit')}" data-area='["99%","99%"]'><i class="fa fa-pencil"></i> {:__('Edit')}</a> -->
                        
                        <a href="javascript:;" class="btn btn-info btn-disabled disabled btn-detail {:$auth->check('project/detail')?'':'hide'}" title="{:__('详情')}" ><i class="fa fa-info"></i> {:__('详情')}</a>

                        <a href="javascript:;" class="btn btn-success btn-export {:$auth->check('project/export')?'':'hide'}" title="{:__('导出')}" data="index"><i class="fa fa-download"></i> {:__('导出')}</a>


                        <a href="javascript:;" class="btn btn-success btn-update btn-disabled disabled {:$auth->check('project/update')?'':'hide'}" title="{:__('Edit')}" data-area='["99%","99%"]'><i class="fa fa-pencil"></i> {:__('Edit')}</a>


                    </div>
                    <table id="table1" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('project/edit')}" 
                           data-operate-del="{:$auth->check('project/del')}" 
                           width="100%">
                    </table>
                </div>
            </div>

            {if $isSuperAdmin == '1'}
            <div class="tab-pane fade" id="two">
                <div class="widget-body no-padding">
                    <div id="toolbar2" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>

                    </div>
                    <table id="table2" class="table table-striped table-bordered table-hover" width="100%">
                    </table>
                </div>
            </div>
            {/if}


        </div>
    </div>
</div>
<style type="text/css">
    .table > tbody > tr > th,  .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td
       { line-height: 35px }
</style>